import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import Router from "./router"
import App from './App.vue'
import Vant from "vant"
import 'vant/lib/index.css'


const app = createApp(App)
app.use(ElementPlus)
app.use(Router)
app.mount('#app')

app.use(Vant);

import * as ElementPlusIconsVue from '@element-plus/icons-vue'
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
